package com.neu.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.neu.po.Post;

public interface PostService {
	
	int insert(Post post);
	
	int update(Post post);
	
	int delete(int id);
	
    List<Post> getAll();
	
	List<Post> getByName(String pname);
	
	PageInfo<Post> getPaged(int pageSize, int pageNum, String keyword);
	
	
}
